import os

USERNAME = 'root'
PASSWORD = '12345678'
HOST = '127.0.0.1'
PORT = '3306'
DATABASE = 'mydatabase'

SQLALCHEMY_DATABASE_URI = f"mysql+pymysql://{USERNAME}:{PASSWORD}@{HOST}:{PORT}/{DATABASE}?charset=utf8mb4"
SQLALCHEMY_TRACK_MODIFICATIONS = False

MAIL_SERVER = 'smtp.qq.com'
MAIL_PORT = 465
MAIL_USE_SSL = True
MAIL_USERNAME = '838473025@qq.com'
MAIL_PASSWORD = 'bgyiwnqzgkvebbjj'
MAIL_DEFAULT_SENDER = '838473025@qq.com'

# SECRET_KEY = os.urandom(24)
SECRET_KEY = '1234567890'
